﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="True" Inherits="GoFishWeb.Join" CodeBehind="GameSelect.aspx.cs" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="FeaturedContent" runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <div>
        <div style="float: left">
            <h1>Join a New Game:</h1>
            <asp:Label ID="lblErrorMessage" runat="server" Visible="false" ForeColor="Red"></asp:Label><br />
            <asp:ListBox ID="ListBox1" runat="server" Height="264px" Width="380px"></asp:ListBox><br />
            <asp:Button ID="btnJoin" runat="server" Text="Join a Game" Width="170px" OnClick="btnJoin_Click" />
        </div>

        <div style="float: right">
            <h1>Continue an Existing Game:</h1>
            <br />
            <asp:ListBox ID="RejoinListBox" runat="server" Height="264px" Width="380px"></asp:ListBox><br />
            <asp:Button ID="RejoinButton" runat="server" Text="Rejoin a Game" Width="170px" OnClick="btnRejoin_Click" />
        </div>
    </div>
    <div style="clear: both" align="center">
        <label>Game Name:</label><asp:TextBox ID="txtGameName" runat="server"></asp:TextBox>
        <asp:Button ID="btnStart" runat="server" Text="Start new Game" Width="170px" OnClick="btnStart_Click" />
    </div>
    <asp:Timer ID="Timer1" runat="server" Interval="7000" OnTick="Timer1_Tick"></asp:Timer>
</asp:Content>

